home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
gfx
/
show
/
jcosub26.lha
/
JACOsub
/
rexx
/
begintime.jsrx
< prev
next >
Wrap
Text File
|
1994-01-07
|
533b
|
20 lines
/* JACOsub BEGINTIME command demonstration.
This command changes the begin time for playing a script.
BEGINTIME returns RESULT=0 if successful, or RESULT=1 if the time
string had a bad format, or 2 if there was a resolution conflict.
*/
if ~arg() then do ; say 'Need arguments H:MM:SS.FF and [counts/sec]' ; exit 1 ; end
parse arg starttime secunits .
options results
address 'JACOsub'
'BEGINTIME' starttime secunits
if result > 0 then
say 'error setting begin time'
else
say 'begin time set successfully'
exit result